//package com.tidc.commonality.api;
//
//import com.tidc.commonality.fallbackFactory.StudentCheckProviderFallbackFactory;
//import com.tidc.commonality.ov.UserOV;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//
///**
// * @ClassNmae TeacherCheckApi
// * @Description TODO
// * @Author 冯涛滔
// **/
//@FeignClient(name = "CHECKPROVIDER",fallbackFactory = StudentCheckProviderFallbackFactory.class)
//public interface TeacherCheckApi {
//	@ApiOperation("返回当前老师所拥有可以评分的比赛(也就是过了比赛报名期的比赛)如果该老师没有创建任何比赛会返回404") //需要修改
//	@RequestMapping(value = "/teacher/check/power",method = RequestMethod.GET)
//	public UserOV getMatch(String token);
//
//	@ApiOperation("返回当前老师创建的比赛,如果该老师没有创建任何比赛会返回404")
//	@RequestMapping(value = "/teacher/check/match",method = RequestMethod.GET)
//	public UserOV mymatchs(String token);
//
//	@ApiOperation("根据比赛的id来查询所有的参赛作品 需要传入一个比赛id")
//	@RequestMapping(value = "/teacher/check/work/{id}",method = RequestMethod.GET)
//	public UserOV getMatchsWorks(@PathVariable int id);
//
//	@ApiOperation("按照email查询老师")
//	@RequestMapping(value = "/teacher/check/teacher",method = RequestMethod.GET)
//	public UserOV checkTeacher(String email);
//
//	@ApiOperation("根据id查看这个比赛有评分权限的老师")
//	@RequestMapping(value = "/teacher/check/match/power/{id}",method = RequestMethod.GET)
//	public UserOV checkMatchPower(@PathVariable("id") int id);
//
//}
